package com.matt.order.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PlayWithDto implements Serializable {
    private Integer playId;
    private String playName;
    private String playGender;
    private String playLevel;
    private String playChatName;
    private String playKookName;
    private String playAlipayName;
    private Integer playRollcallCount;
    private Double playEvaluate;
    private String playSource;
    private String playBlackList;
    private String playNotes;
    private String playCreatetime;
    private String playUpdatetime;
    private String orderSettlementTime;
    private String goodCounts;
    private String playGenderPer;
    private String playLevelPer;
    private String playSourcePer;
    public String getFmtGender() {
        if (playGender.equals("1")) {
            return "男";
        } else if (playGender.equals("2")) {
            return "女";
        } else {
            return "不详";
        }
    }
}
